<ul>
    <li *ngFor="let user of users" (click)="userSelected(user)">
        <div class="user" *ngIf="user.userName != loginInfo.userName">

            <span class="avatar" [ngStyle]="{'background-color':user.color}"></span><span class="nickname">
            {{user.nickname?user.nickname:"群聊"}}</span>
            <span class="unread" *ngIf="user.hasNewMessage &&!iscurrentreceiver">[未读]</span>

        </div>

    </li>
</ul>
<!-- 待处理：自动增加了一个class : _ngcontent-c1，导致对不齐 ,去掉 ul li 可以，但是 unread 还是对不齐-->

